package Sagittarius
{
	import br.com.stimuli.loading.BulkLoader;
	
	import com.pblabs.engine.PBE;
	import com.pblabs.engine.debug.Logger;
	
	import Sagittarius.Manager.*;
	
	/**************************************************************************
	 * ...
	 * @author Aqua
	 *************************************************************************/
	public class Sagittarius
	{
		
		//-----------------//
		//     Publics     //
		//-----------------//
		
		/**************************************************************************
		 * function				startUp
		 * description			start the Sagittarius engine
		 * @param	stage		main stage of the gameplay, used to contain all 
		 * 						elements
		 * @param	width		the width of the stage
		 * @param	height		the height of the stage
		 *************************************************************************/
		public static function startUp(stage:Sprite, width:uint, height:uint):void
		{
			PBE.startup(stage);
			PBE.initializeScene(new SceneView());
			
			GameManager.instance.initialize(stage, width, height);
		}
		
		public static function addResource(url:String):void
		{
			ResourceManager.instance.addFile(url);
		}
		
		/**************************************************************************
		 * function				loadLevel
		 * description			load level's data
		 * @param	level		level to be loaded
		 *************************************************************************/
		public static function loadLevel(level:int):void
		{
			
		}
	}
	
}